<?php

namespace App\Models\TwoLevelMainte;

use App\Models\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class TwoLevelMainteBus extends Model
{
    protected $table = 'akbus_two_level_mainte_bus';

    protected $fillable = [
        'license_plate_num',
        'two_mainte_id',
    ];

    public function twoLevel(): BelongsTo
    {
        return $this->belongsTo(TwoLevelMainte::class, 'two_mainte_id');
    }
}
